
CFLAGS = -g -Wall -Wextra $(OFLAGS) $(XFLAGS)
OFLAGS = -DDEBUG
PACKCC=./packcc


all : gvoptions

# option --debug to packcc

gvoptions:
	$(PACKCC) --debug gvoptions.peg
	$(CC) $(CFLAGS) gvoptions.c -o gvoptions
	cat gvoptions.txt |./gvoptions

clean :
	rm -f *~ *.o
	rm -v -f gvoptions
	rm -v -f gvoptions.c
	rm -v -f gvoptions.h

